package cn.edu.scau.cmi.wuzewei.abstractFactory.factory;

import cn.edu.scau.cmi.wuzewei.abstractFactory.domain.PingAnAccidentsInsurance;
import cn.edu.scau.cmi.wuzewei.abstractFactory.domain.PingAnBodyInjureInsurance;
import cn.edu.scau.cmi.wuzewei.abstractFactory.domain.PingAnCarDamageInsurance;
import cn.edu.scau.cmi.wuzewei.abstractFactory.domain.PingAnCasualtiesInsurance;
import cn.edu.scau.cmi.wuzewei.abstractFactory.domainAbstractClass.Insurance;

public class PingAnFactory extends InsuranceFactory {
    @Override
    public Insurance getAccidentsInsurance() {
        return new PingAnAccidentsInsurance();
    }

    @Override
    public Insurance getBodyInjureInsurance() {
        return new PingAnBodyInjureInsurance();
    }

    @Override
    public Insurance getCarDamageInsurance() {
        return new PingAnCarDamageInsurance();
    }

    @Override
    public Insurance getCasualtiesInsurance() {
        return new PingAnCasualtiesInsurance();
    }
}